.. _`Simple Train-Test Split`: .. _`org.sysess.sympathy.machinelearning.simple_split`: Simple Train-Test Split ``````````````````````` .. image:: traintest.svg :width: 48 Splits input data into a training and a test dataset Definition :::::::::: Input ports ........... **X** | Type: table | Description: X **Y** | Type: table | Description: Y | Optional number of ports: 0--1 (default: 1) Output ports ............ **X_train** | Type: table | Description: X_train **Y_train** | Type: table | Description: Y_train **X_test** | Type: table | Description: X_test **Y_test** | Type: table | Description: Y_test Configuration ............. **Stratify** (stratify) Stratify data using Y as class labels **Test size** (test_size) Size of test data as fraction (< 1) of all data Examples ........ The node can be found in: * :download:`Custom_ParameterSearch.syx ` * :download:`Metrics.syx ` * :download:`Text_Classification.syx ` * :download:`MNIST_Digits.syx ` * :download:`Eigenfaces.syx ` * :download:`Polynomial_Features.syx ` * :download:`Fisher_faces.syx ` * :download:`random_forest_regressor.syx ` Implementation .............. .. automodule:: node_crossvalidation :noindex: .. class:: CrossVal_SimpleSplit :noindex: